from small one page howto to huge articles all in one place

search text in:





Poll
Which linux distribution do you use?







poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

206971

userrating:


May 25th. 2007:
Words

486

Views

257448

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

148351

userrating:


April, 26th. 2006:

Druckversion . pdf icon
You are here: System->Tips and Tricks


Improving DNS Lookups

This tip shows you how to improve DNS lookups by using multiple nameservers. This is useful if you've ever had your primary DNS server become unreachable for any reason.

Nameservers are listed in /etc/resolv.conf, one per line.

Code Listing 1: Example /etc/resolv.conf

nameserver 192.168.1.1 
nameserver 10.0.0.1

To improve DNS lookups, add multiple DNS servers (preferably on different subnets) and the following options to /etc/resolv.conf:

Code Listing 2: /etc/resolv.conf options

options rotate 
options timeout:1

This will use both nameserver in rotation and wait max. 1 second for answer before trying the next one.

From http://www.gentoo.org/news/en/gwn/20040202-newsletter.xml

back






Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 46.8 ms